﻿@model XtremBiking.Web.Models.Usuarios.LogInUser

                @using (Html.BeginForm("LogIn", "Home",new { ReturnUrl = ViewBag.ReturnUrl },FormMethod.Post, new { @class = "navbar-form navbar-right" }))
                { 
                    <div class="form-group">
                        @Html.ValidationSummary(true)
           		        @* @Html.EditorForModel();*@
                    <div class="form-control">
                        @Html.EditorFor(model => model.Email, new { htmlAttributes = 
                            new { @class = "form-control input-sm", 
                            placeholder = @Html.DisplayNameFor(m=>m.Email) } })
                    </div> 
                    <div class="form-control">
                        @Html.EditorFor(model => model.Password, new { htmlAttributes = 
                            new { @class = "form-control input-sm", 
                            placeholder = @Html.DisplayNameFor(m=>m.Password) } })
                    </div>
                    <button type="submit" class="btn btn-success">Login</button><br />
                     @Html.ValidationMessageFor(model => model.Email)<br />
                     @Html.ValidationMessageFor(model => model.Password)
                     </div>
                 }